package com.lou.springboot.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration(value = "upload")
public class UploadConfig {
    // 上传文件实际上存放的地址
    @Value("${upload.staticAccessPath}")
    private String staticAccessPath;

    public String getStaticAccessPath() {
        return staticAccessPath;
    }
}
